package cn.com.nes.mybatis.agent.activity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 落地页活动
 * @TableName t_activity
 */
@Data
@TableName(value ="t_activity")
public class Activity extends Model<Activity> {
    /**
     * 
     */
    @TableId(value = "uuid")
    private String uuid;

    /**
     * 活动名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 线索来源
     */
    @TableField(value = "cluesource")
    private String cluesource;

    /**
     * 
     */
    @TableField(value = "subname")
    private String subname;

    /**
     * 活动开始时间
     */
    @TableField(value = "starttime")
    private Date starttime;

    /**
     * 活动结束时间
     */
    @TableField(value = "endtime")
    private Date endtime;

    /**
     * 所属公司ID
     */
    @TableField(value = "companyId")
    private String companyid;

    /**
     * 
     */
    @TableField(value = "jsondata")
    private String jsondata;

    /**
     * 背景图
     */
    @TableField(value = "imageBg")
    private String imagebg;

    /**
     * 上传类型：img图片、ppt
     */
    @TableField(value = "imgtype")
    private String imgtype;

    /**
     * 图片列表
     */
    @TableField(value = "images")
    private String images;

    /**
     * 创建者uid
     */
    @TableField(value = "createUid")
    private String createuid;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 修改者uid
     */
    @TableField(value = "modifyUid")
    private String modifyuid;

    /**
     * 修改时间
     */
    @TableField(value = "modifyTime")
    private Date modifytime;

    /**
     * 是否删除
     */
    @TableField(value = "isdelete")
    private String isdelete;

    /**
     * 模板ID
     */
    @TableField(value = "modeid")
    private String modeid;

    /**
     * 是否插入线索
     */
    @TableField(value = "isclue")
    private String isclue;

    /**
     * 是否默认
     */
    @TableField(value = "sfmr")
    private String sfmr;

    /**
     * 是否有填报信息 0 无 1有
     */
    @TableField(value = "sfytbxx")
    private String sfytbxx;

    /**
     * 
     */
    @TableField(value = "colorTextObj")
    private String colortextobj;

    /**
     * 
     */
    @TableField(value = "colorOkBtnObj")
    private String colorokbtnobj;

    /**
     * 信息填充后图片
     */
    @TableField(value = "afterAddingImage")
    private String afteraddingimage;

    /**
     * 是否使用公司报名模板
     */
    @TableField(value = "sfgsmb")
    private Integer sfgsmb;

    /**
     * 资料URL
     */
    @TableField(value = "url")
    private String url;

    /**
     * 
     */
    @TableField(value = "companyrule")
    private String companyrule;

    /**
     * 行政区划信息
     */
    @TableField(value = "area_info")
    private String areaInfo;

    /**
     * 厂商id
     */
    @TableField(value = "manufacturer_id")
    private String manufacturerId;

    /**
     * 是否添加消息
     */
    @TableField(value = "is_add_mesg")
    private String isAddMesg;

    /**
     * 项目id - Long
     */
    @TableField(value = "project_uuid")
    private String projectUuid;

    /**
     * 项目名称
     */
    @TableField(value = "project_name")
    private String projectName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public Serializable pkVal() {
        return this.uuid;
    }

}